package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.bean.PageParam;
import com.itheima.dto.SetmealDto;
import com.itheima.bean.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    //删除套餐
    List<Setmeal> findByCid(long id);

    //新增套餐
    boolean add(SetmealDto setmealDto);

    //套餐分页查询
    IPage<SetmealDto> page(PageParam pageParam);

    //删除套餐
    boolean delete(List<Long> ids);
}
